package com.geek.factory.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

// 生产计划创建参数
@Data
public class CreateProductionPlanDTO {
    private Long productId;
    private String productName;
    private String code;
    private String productLineName;
    private BigDecimal quantity;
    private Long productLineId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime planStartTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime completeTime;

    private List<MaterialUsageDTO> material;


}
